<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>百分比动画</title>
</head>
<body>
<canvas id="canvas" width="500" height="500" style="background-color: #000"></canvas>
</body>
<script src="demo.js"></script>
</html>